  <!-- MENU-->
<script type="text/javascript">
var timeout = 500;
var closetimer = 0;
var ddmenuitem = 0;
function jsddm_open()
{ jsddm_canceltimer();
jsddm_close();
ddmenuitem = $(this).find('ul').eq(0).css('visibility', 'visible');}

function jsddm_close()
{ if(ddmenuitem) ddmenuitem.css('visibility', 'hidden');}

function jsddm_timer()
{ closetimer = window.setTimeout(jsddm_close, timeout);}

function jsddm_canceltimer()
{ if(closetimer)
{ window.clearTimeout(closetimer);
closetimer = null;}}

$(document).ready(function()
{ $('#jsddm > li').bind('mouseover', jsddm_open);
$('#jsddm > li').bind('mouseout', jsddm_timer);});

document.onclick = jsddm_close;
</script>
<!--END  MEnu-->
<!-- AJAX JQUEY-->
<script type="text/javascript">
$(document).ready(function(){
$("#hethong").click(function(){
a<?php echo '123';?>// khi kich nut hethong
});
});
</script>
<!--END AJAX JQUERY-->

  <!--MENU-->
 
 <div class="menu_trai">
    <ul id="jsddm">
         <li><a href="<?php echo base_url().'admin/xuly/setting/list';?>">Hệ thống</a></li>  
        <li><a href="#">Phần mở rộng</a>
            <ul>
            <li><a href="<?php echo base_url().'admin/xuly/slideshow/list';?>">Slideshow</a></li>
            <li><a href="<?php echo base_url().'admin/xuly/quangcao/list';?>">Quảng cáo</a></li>
            </ul>
        </li>
        
         <li><a href="#">Bài viết</a>
            <ul>
            <li><a href="<?php echo base_url().'admin/xuly/article_category/list';?>">Quản lý danh mục</a></li>
            <li><a href="<?php echo base_url().'admin/xuly/article/list';?>">Quản lý bài viết</a></li>
            </ul>
        </li>
        <li><a href="#">Sản Phẩm</a>
            <ul>
            <li><a href="<?php echo base_url().'admin/xuly/product_category/list';?>">Danh mục sản phẩm</a></li>
            <li><a href="<?php echo base_url().'admin/xuly/product_manufacturer/list';?>">Nhà máy sản xuất</a></li>
            <li><a href="<?php echo base_url().'admin/xuly/product/list';?>">Quản lý sản phẩm</a></li>
            </ul>
        </li>
        <li><a href="<?php echo base_url().'admin/xuly/hotro/list';?>">Quản lý hỗ trợ</a></li>
        <li><a href="<?php echo base_url().'admin/xuly/order/list';?>">Quản lý đơn hàng</a></li>
        <li><a href="<?php echo base_url().'admin/xuly/users/list';?>">Quản lý thành viên</a></li>
         
    </ul>
 </div>
 <div class="menu_phai">
    <ul class="user">
    <li><img src="<?php echo base_url().'skin/admin/images/user.png';?>"/><?php echo $this->session->userdata('username');?></li>
        <!-- xu ly noi dng lien he-->
        <li><a href=" <?php echo base_url();?>admin/xuly/lienhe/list">
            <?php
                if(!empty($contact_new)){
                    echo '<img src="'.base_url().'skin/admin/images/email.png"/> ('.$contact_new.')';
                }else{
                    echo '<img src="'.base_url().'skin/admin/images/email_o.gif"/> ('.$contact_old.')';
                }
            ?>     
        </a></li>
        <!-- end xu ly noi dng lien he-->
    <li><a href="<?php echo base_url();?>" target="_blank"><img src="<?php echo base_url().'skin/admin/images/view.png';?>"/>Xem trang</a></li>
    <li><a href=" <?php echo base_url().'admin/logout';?>"><img src="<?php echo base_url().'skin/admin/images/logout.png';?>"/>Đăng xuất</a></li>
    </ul>
 </div>
  
    <!--END MENU-->
</div>